package com.ruoyi.elasticsearch.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 酒店列表对象 tb_hotel
 *
 * @author 林道敬
 * @date 2025-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_hotel")
public class Hotel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 酒店id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 酒店名称 */
    @Excel(name = "酒店名称")
    private String name;

    /** 酒店地址 */
    @Excel(name = "酒店地址")
    private String address;

    /** 酒店价格 */
    @Excel(name = "酒店价格")
    private Long price;

    /** 酒店评分 */
    @Excel(name = "酒店评分")
    private Long score;

    /** 酒店品牌 */
    @Excel(name = "酒店品牌")
    private String brand;

    /** 所在城市 */
    @Excel(name = "所在城市")
    private String city;

    /** 酒店星级，1星到5星，1钻到5钻 */
    @Excel(name = "酒店星级，1星到5星，1钻到5钻")
    private String starName;

    /** 商圈 */
    @Excel(name = "商圈")
    private String business;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 酒店图片 */
    @Excel(name = "酒店图片")
    private String pic;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setPrice(Long price)
    {
        this.price = price;
    }

    public Long getPrice()
    {
        return price;
    }
    public void setScore(Long score)
    {
        this.score = score;
    }

    public Long getScore()
    {
        return score;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setStarName(String starName)
    {
        this.starName = starName;
    }

    public String getStarName()
    {
        return starName;
    }
    public void setBusiness(String business)
    {
        this.business = business;
    }

    public String getBusiness()
    {
        return business;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setPic(String pic)
    {
        this.pic = pic;
    }

    public String getPic()
    {
        return pic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("address", getAddress())
            .append("price", getPrice())
            .append("score", getScore())
            .append("brand", getBrand())
            .append("city", getCity())
            .append("starName", getStarName())
            .append("business", getBusiness())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("pic", getPic())
            .toString();
    }
}
